<template>
  <el-dialog
    :title="$t('flyparam.file_manage')"
    class="file-manager-dialog"
    append-to-body
    v-bind="$attrs"
    width="80%"
    v-on="$listeners"
    @close="handleClose"
  >
    <file-manager />
  </el-dialog>
</template>

<script>
import FileManager from '../resources.vue'
export default {
  components: {
    FileManager
  },
  methods: {
    handleClose() {
      this.$emit('refresh')
      this.$emit('update:model-value', false)
    }
  }
}
</script>

<style lang="scss" scoped>
.file-manager-dialog::v-deep .el-dialog__body {
  padding: 10px;
}
</style>
